/*
** pud_NetBSD.h for pud in mrcellophane/libpud/NetBSD
** 
** Made by solomon hykes
** Login   <torgau@gmail.com>
** 
** Started on  Mon May 16 14:12:07 2005 solomon hykes
** Last update Sun Jun  5 01:33:09 2005 solomon hykes
*/

#ifndef PUD_SYS_H
# define PUD_SYS_H

#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/wait.h>
#include <machine/reg.h>

#include <stdlib.h>
#include <stdio.h>
#include <errno.h>

#include "pud.h"

/*
** Override opaque types
** (PUD_SYS_H will avoid type collisions)
*/

typedef struct
{
  pid_t		pid;
  proc_status	status;
  u_long	event_count;
  /* PRIVATE PART */
  pud_event	event;
  u_long	pc;
  u_long	stackp;
  struct reg	regs;
}	sys_pud_process;

t_ret	sys_pud_getregs(sys_pud_process *proc);
t_ret	sys_pud_setregs(sys_pud_process *proc);

#endif
